Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Nov 1999 01:50:08 -0800
From:      Richard Kiss <richard@homemail.com>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>, <jdp@polstra.com>
Subject:   Re: Can't figure out cfs port
Message-ID:  <B447E4E3.1BE0%richard@homemail.com>
In-Reply-To: <B44679C8.2B2%richard@homemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I built the cfs port and installed it. I started cfsd, and then did
> 
> cmkdir ~/crypt-test
> 
> This seemed to work -- created a directory with three tiny files in it.
> 
> Then I did
> 
> cattach ~/crypt-test test
> 
> and entered the same key. No complaints.
> 
> But there was no cleartext directory in /crypt (or anywhere else). The port
> didn't create /crypt, so I created it myself and repeated. No difference.
> 
> I've also tried
> 
> # /sbin/mount -o port=3049,intr localhost:/ /crypt
> nfs: can't access /: Permission denied
> 
> I don't really understand nfs, so the documentation is not completely clear
> to me. If it matters, I export all file systems except /.

As follow-up to my own question, and a search on Dejanews (sorry "Deja"), I
found that adding

/etc/crypt-null -o port=3049,nfsv2      localhost

to /etc/exports (mkdir /etc/crypt-null followed by chmod 0 /etc/crypt-null)
now lets me mount using

# /sbin/mount -o port=3049,intr localhost:/etc/crypt-null /crypt

and then cattach works as expected. Perhaps a note in the port to make this
explicit is in order? Perhaps add

"/sbin/mount -o port=3049,intr localhost:/etc/crypt-null /crypt"

to rc.d and a note about the line to add to /etc/exports after the port
install.

Thanks,

-- Richard



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B447E4E3.1BE0%richard>